<?php
/**
 * 人人站CMS
 * ============================================================================
 * 版权所有 2015-2030 山东康程信息科技有限公司，并保留所有权利。
 * 网站地址: http://www.rrzcms.com
 * ----------------------------------------------------------------------------
 * 如果商业用途务必到官方购买正版授权, 以免引起不必要的法律纠纷.
 * 严禁反编译、逆向等任何形式的侵权行为，违者将追究法律责任.
 * ============================================================================
 */

namespace app\plugin\lib; use think\Facade; class Common extends Facade { protected static function plugin_get_class($xWs1j) { goto EeQZ_; c7Fzf: $eoMXc = parse_name($xWs1j); goto GNaHi; x56vI: return $XlAf3; goto XLHu6; EeQZ_: $xWs1j = ucwords($xWs1j); goto c7Fzf; GNaHi: $XlAf3 = "\141\x64\144\x6f\156\x73\x5c{$eoMXc}\134{$xWs1j}\120\154\x75\x67\x69\156"; goto x56vI; XLHu6: } protected static function plugin_get_url($E1huT, $eLjno = [], $Baobm = false) { goto x2Ov0; x2Ov0: $E1huT = parse_url($E1huT); goto yz7WU; GHTwp: $nwEmg = $cV7Uw ? parse_name($E1huT["\x68\x6f\163\x74"]) : $E1huT["\150\x6f\x73\x74"]; goto qmnVP; e9KpM: $C8dwz = $cV7Uw ? parse_name($E1huT["\163\x63\150\x65\155\x65"]) : $E1huT["\163\143\x68\x65\155\x65"]; goto GHTwp; wGG6o: return U($fOSHD, $eLjno, true, $Baobm); goto ORv2D; qmnVP: $zbw3c = trim($cV7Uw ? strtolower($E1huT["\x70\x61\x74\150"]) : $E1huT["\160\x61\164\150"], "\57"); goto QXctQ; QXctQ: if (!isset($E1huT["\x71\165\x65\x72\x79"])) { goto JWGhe; } goto jX0B8; LmFXC: $bSMYq = ["\137\160\x6c\165\147\151\x6e" => $C8dwz, "\137\x63\x6f\156\x74\162\157\154\x6c\145\162" => $nwEmg, "\x5f\141\143\164\151\x6f\x6e" => $zbw3c]; goto yMi6K; yMi6K: $fOSHD = "\57" . getAppName("\141\144\x6d\x69\156") . "\x2f\x70\154\165\x67\x69\156\57" . implode("\x2f", $bSMYq); goto wGG6o; TsTWs: $eLjno = array_merge($pANHs, $eLjno); goto RIUNr; RIUNr: JWGhe: goto LmFXC; jX0B8: parse_str($E1huT["\161\165\145\162\171"], $pANHs); goto TsTWs; yz7WU: $cV7Uw = true; goto e9KpM; ORv2D: } protected static function plugin_temp_html($UjwnG = '') { goto Uf2Sk; RLNVH: $E3pQM = M("\160\154\x75\x67\151\156")->where("\x73\x74\141\x74\165\x73\x3d\61\40\141\156\144\x20\151\x73\x68\157\x6d\x65\75\61\x20\x61\156\x64\x20\x69\x73\154\157\x61\144\75\x31\x20\x61\156\144\40\50\154\157\x61\x64\164\x65\155\160\x3d\x27\x27" . ($UjwnG != '' ? "\x20\157\162\x20\x6c\157\x61\144\164\x65\155\x70\40\x6c\x69\153\x65\40\x27\x25" . $UjwnG . "\54\x25\x27" : '') . "\51")->column("\143\157\144\145"); goto Wnkjr; wEz76: j2Tc1: goto YEVpE; YEVpE: return $HrsHD; goto D8fkA; Uf2Sk: $HrsHD = ''; goto RLNVH; Wnkjr: foreach ($E3pQM as $xWs1j) { goto x8pTH; p1qzC: $C8dwz = new $XlAf3(); goto SGlC2; OOg3A: J2EPi: goto MDEpm; Pw5al: l3Bgp: goto OOg3A; SGlC2: $HrsHD = $HrsHD . $C8dwz->getHtml(); goto Pw5al; g3fyZ: if (!class_exists($XlAf3)) { goto l3Bgp; } goto p1qzC; x8pTH: $XlAf3 = self::plugin_get_class($xWs1j); goto g3fyZ; MDEpm: } goto wEz76; D8fkA: } protected static function plugin_get_list($jQ6eK = 1) { goto g8x6e; iPlYo: return false; goto KQMRl; Haw50: yZdsw: goto w_Q5I; FEVJw: return $bSMYq["\144\141\164\x61"]; goto Haw50; s4H9h: $E1huT .= "\x59\x32\71\164\114\60\x46\167\x61\123\x39\x51\x62\110\126\156\x61\x57\64\166\132\62\x56\60\142\107\154\172\144\x41\75\75"; goto tNpxU; Zi9xH: $bSMYq = $NrEdi($E1huT, $O18xa, "\x6a\163\157\x6e"); goto yOxHo; tNpxU: $E1huT = base64_decode($E1huT); goto nsZ_s; KQMRl: goto yZdsw; goto Cp_RU; AdGT4: $NrEdi .= "\x5f" . "\143\x75\x72\154"; goto Zi9xH; yOxHo: if (is_array($bSMYq) && "\x73\x75\143\x63\x65\163\x73" == $bSMYq["\x73\164\141\x74\165\163"]) { goto BWQZg; } goto iPlYo; Cp_RU: BWQZg: goto FEVJw; nsZ_s: $O18xa = ["\160\x69\156\144\145\x78" => $jQ6eK, "\144\157\x6d\x61\x69\x6e" => request()->host(true)]; goto G1v5e; g8x6e: $E1huT = "\141\x48\122\60\143\x44\157\166\x4c\63\144\x33\144\x79\x35\171\143\x6e\160\152\x62\130\x4d\x75"; goto s4H9h; G1v5e: $NrEdi = "\160\157\163\x74"; goto AdGT4; w_Q5I: } protected static function plugin_check_version($SOFcA, $WdvB4) { goto vK00W; QxHWf: $NrEdi .= "\137" . "\143\x75\162\x6c"; goto pMcUF; IxLQu: $E1huT = base64_decode($E1huT); goto YW_47; og7zu: if (!(is_array($bSMYq) && "\x73\x75\x63\x63\145\163\x73" == $bSMYq["\163\164\141\164\x75\163"])) { goto qLRNl; } goto Zowa3; rCNYV: $NrEdi = "\x70\157\x73\164"; goto QxHWf; DGH2m: return []; goto poTgT; ziiz9: $E1huT .= "\60\x46\167\x61\x53\x39\121\x62\x48\x56\156\x61\x57\x34\x76\131\x32\x68\x6c\x59\x32\164\x57\x5a\130\112\x7a\141\127\71\165"; goto IxLQu; AgqFi: qLRNl: goto DGH2m; pMcUF: $bSMYq = $NrEdi($E1huT, $O18xa, "\152\163\157\156"); goto og7zu; YW_47: $O18xa = ["\143\x6f\144\x65\163" => implode("\54", $SOFcA), "\x76\x65\x72\163" => implode("\54", $WdvB4)]; goto rCNYV; vK00W: $E1huT = "\141\110\x52\x30\x63\x44\x6f\x76\x4c\63\144\x33\x64\171\65\171\143\156\x70\x6a\142\x58\115\x75\131\x32\x39\164\x4c"; goto ziiz9; Zowa3: return $bSMYq["\x64\141\x74\141"]; goto AgqFi; poTgT: } protected static function plugin_online_install($PAS4l, $f2OF_ = 0) { goto IGImd; lKAWh: $E1huT = base64_decode($E1huT); goto dgQ7y; rXCN4: if (!is_array($bSMYq)) { goto Ethbo; } goto u3bqY; fvbMs: $bSMYq = $NrEdi($E1huT, $O18xa, "\x6a\163\157\x6e"); goto rXCN4; H3nBN: return ["\163\x74\x61\x74\x75\163" => false, "\155\x73\147" => $grWWt, "\x6d\163\x67\164\x79\160\x65" => '']; goto SoSY2; XPckD: $NrEdi = "\x70\x6f\x73\x74"; goto lKZ55; LMMuf: $E1huT .= "\x6a\x62\x58\115\165\131\x32\x39\x74\x4c\60\106\x77\141\x53\x39\121\142\110\126\x6e\141\x57\x34\166\x59\62\x68\154\x59\x32\163\x3d"; goto lKAWh; AQJh0: gkaEZ: goto SA019; nTp9R: return ["\x73\164\x61\164\165\x73" => false, "\155\163\x67" => $grWWt, "\155\x73\x67\164\171\160\x65" => '']; goto AQJh0; lA4e1: if (class_exists($XlAf3)) { goto JPmon; } goto ZpyWG; pljoJ: return ["\x73\164\141\x74\x75\163" => true]; goto DHQVP; l2wH0: ZF3bT: goto XHCQC; wdLtq: clearCache(true); goto pljoJ; XHCQC: if (!$XkgNH) { goto AphA1; } goto wdLtq; DHQVP: AphA1: goto ubX8v; CnH3J: $XkgNH = $C8dwz->upgrade($grWWt); goto l2wH0; ZpyWG: $grWWt = "\345\256\x89\xe8\243\x85\xe5\xa4\xb1\xe8\264\xa5\xef\xbc\x8c\346\217\222\xe4\273\266\345\256\211\350\243\x85\345\214\205\xe6\x8d\237\xe5\x9d\217\xef\xbc\214\xe8\xaf\xb7\xe8\x81\x94\347\xb3\273\345\256\x98\xe6\226\xb9\xe5\xae\xa2\xe6\x9c\215\357\274\x81"; goto Fl_KS; SA019: Ethbo: goto vqgch; EShf0: goto ZF3bT; goto CK3dP; G6WKx: if ($f2OF_ == 1) { goto T5saM; } goto orDUV; bHv7a: DowZ5: goto nTp9R; IGImd: $E1huT = "\x61\110\122\x30\x63\104\157\x76\114\x33\144\x33\144\x79\x35\x79\143\x6e\x70"; goto LMMuf; vqgch: $grWWt = "\346\234\xaa\xe8\216\xb7\345\217\x96\345\210\xb0\xe6\x8f\x92\xe4\xbb\xb6\344\277\xa1\346\201\257\357\xbc\201"; goto H3nBN; yX3iS: if (!self::plugin_down_addons($bSMYq["\x64\x61\x74\x61"]["\x64\x6f\x77\x6e\x75\x72\154"], $bSMYq["\144\x61\x74\141"]["\x66\x69\154\x65\155\144\x35"], $grWWt)) { goto DowZ5; } goto yi3Hv; u3bqY: if ($bSMYq["\x73\164\141\x74\165\163"] == "\163\165\143\x63\x65\163\163") { goto o0UP4; } goto SfGme; orDUV: $XkgNH = $C8dwz->install($grWWt); goto EShf0; Fl_KS: return ["\x73\x74\141\x74\x75\x73" => false, "\x6d\x73\147" => $grWWt, "\x6d\x73\x67\164\171\160\x65" => '']; goto B1emh; ukgEh: goto gkaEZ; goto GndXk; dgQ7y: $O18xa = ["\x63\x6f\144\145" => $PAS4l, "\x64\157\x6d\x61\x69\x6e" => request()->host(true), "\151\160" => gethostbyname($_SERVER["\123\105\x52\126\x45\122\137\x4e\101\x4d\x45"]), "\x69\163\144\157\167\x6e" => 1]; goto XPckD; SfGme: return ["\163\x74\141\x74\165\163" => false, "\x6d\x73\x67" => $bSMYq["\155\163\147"], "\155\163\x67\164\x79\x70\145" => "\x63\x6f\x6e\x66\151\162\155"]; goto ukgEh; CK3dP: T5saM: goto CnH3J; ubX8v: $grWWt = "\345\256\211\xe8\xa3\205\345\xa4\261\350\264\xa5\357\274\214" . $grWWt . "\xef\xbc\201"; goto bHv7a; B1emh: JPmon: goto YIU0Q; GndXk: o0UP4: goto yX3iS; YIU0Q: $C8dwz = new $XlAf3(); goto G6WKx; yi3Hv: $XlAf3 = Common::plugin_get_class($PAS4l); goto lA4e1; lKZ55: $NrEdi .= "\137" . "\x63\165\x72\x6c"; goto fvbMs; SoSY2: } protected static function plugin_down_addons($nsrU0, $yVAae, &$grWWt = '') { goto Cua1f; CGO9d: is_dir($sITFf) or mkdir($sITFf, 0755, true); goto aat2y; Ml4Yq: $J04oa = dirname($cMWb5); goto wipZW; kn8rb: JR3hd: goto bZiRU; ovXtM: bnwYP: goto U86rd; egx4n: $X6RFl = explode("\x2f", $nsrU0); goto yGkZE; bcHDx: return false; goto GfN9O; n0beo: return false; goto ovXtM; iunKs: cHrlT: goto pBnWK; aat2y: $kEQML = new \ZipArchive(); goto rBO5p; v8vhY: if ($krddX) { goto kQGT1; } goto v65fY; kKvFK: fwrite($GGkBK, $DO3K1); goto VVqc5; vb7YW: $kEQML->close(); goto pV9FN; zrVMJ: $grWWt = "\xe4\270\x8b\xe8\275\xbd\xe5\x8c\205\xe6\x8d\237\345\x9d\x8f\xef\xbc\214\350\xaf\267\350\201\224\xe7\xb3\273\xe5\xae\230\xe6\x96\xb9\xe5\xae\242\xe6\x9c\x8d\xef\xbc\201"; goto leaME; leaME: return false; goto iunKs; Dxhrm: $grWWt = "\xe4\xb8\x8b\350\275\xbd\344\xbf\x9d\xe5\255\x98\xe5\xae\211\350\243\x85\xe5\x8c\205\xe5\244\xb1\350\xb4\245\357\274\x8c\xe8\xaf\267\346\243\200\346\x9f\xa5\346\211\x80\xe6\234\211\xe7\233\xae\xe5\275\x95\347\232\204\346\x9d\x83\xe9\x99\x90\344\273\xa5\345\217\212\xe7\224\xa8\xe6\210\xb7\347\273\x84\344\270\x8d\xe8\x83\xbd\xe4\xb8\xba\162\x6f\157\164"; goto EUPtr; U86rd: $DsM4a = root_path(); goto TZJ4c; wipZW: is_dir($J04oa) or mkdir($J04oa, 0755, true); goto Dhr0x; rBO5p: if (!($kEQML->open($LiRNe) != true)) { goto cHCSO; } goto I5gAk; H0y3W: return false; goto Rhbmp; pV9FN: return true; goto WCywA; GfN9O: kQGT1: goto vFEbX; I5gAk: $grWWt = "\xe5\256\x89\xe8\243\x85\xe5\214\x85\350\xaf\273\345\217\226\xe5\244\xb1\xe8\264\xa5\xef\274\201"; goto H0y3W; Dhr0x: $krddX = @file_get_contents($nsrU0, 0, null, 0, 1); goto v8vhY; EUPtr: return false; goto kn8rb; Cua1f: if (extension_loaded("\172\x69\160")) { goto bnwYP; } goto z22WI; A__WH: $kEQML->extractTo($sITFf); goto vb7YW; bpz_y: if (!(!preventShell($cMWb5) || !file_exists($cMWb5) || $yVAae != md5_file($cMWb5))) { goto JR3hd; } goto Dxhrm; GcYKs: $sITFf = $DsM4a . "\x70\x75\x62\x6c\151\143" . DIRECTORY_SEPARATOR . "\x61\x64\144\157\156\x73" . DIRECTORY_SEPARATOR; goto CGO9d; yGkZE: $X6RFl = end($X6RFl); goto sEjqt; v65fY: $grWWt = "\346\x8f\x92\xe4\xbb\xb6\xe5\xae\211\xe8\243\205\345\214\x85\344\270\215\345\255\230\xe5\234\250"; goto bcHDx; OsWSd: if (!preg_match("\x23\137\137\110\x41\x4c\x54\137\103\x4f\115\x50\x49\114\105\x52\50\x29\x23\151", $DO3K1)) { goto cHrlT; } goto zrVMJ; Rhbmp: cHCSO: goto A__WH; bZiRU: $LiRNe = $cMWb5; goto GcYKs; VVqc5: fclose($GGkBK); goto bpz_y; ksfWz: $cMWb5 = $QEfUx . "\x61\144\144\x6f\156\163" . DIRECTORY_SEPARATOR . $X6RFl; goto Ml4Yq; TZJ4c: $QEfUx = $DsM4a . "\x72\x75\156\164\x69\155\145" . DIRECTORY_SEPARATOR . "\144\x61\164\141" . DIRECTORY_SEPARATOR; goto egx4n; vFEbX: $DO3K1 = curl($nsrU0); goto OsWSd; z22WI: $grWWt = "\xe8\257\267\xe8\x81\224\xe7\263\273\xe7\251\272\351\227\xb4\345\225\206\357\274\214\345\274\200\345\220\257\x20\x70\150\x70\56\151\x6e\x69\x20\344\270\xad\xe7\232\x84\160\150\160\x2d\x7a\x69\x70\346\x89\xa9\345\261\x95"; goto n0beo; pBnWK: $GGkBK = fopen($cMWb5, "\167"); goto kKvFK; sEjqt: $X6RFl = explode("\x3f", $X6RFl)[0]; goto ksfWz; WCywA: } }